package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;


@Table(name="t_score")
public class Score extends BaseEntity{

	private Integer id;
	/**
	 * 用户id
	 **/
	private Integer userId;
	/**
	 * 总积分
	 **/
	private Integer score;
	/**
	 * 创建时间
	 **/
	private Date created;

	@Id
	public Integer getId(){
		return id;
	}
	public void setId(Integer id){
		this.id=id;
	}
	/**
	 * 用户id
	 **/
	public Integer getUserId(){
		return userId;
	}
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	/**
	 * 总积分
	 **/
	public Integer getScore(){
		return score;
	}
	public void setScore(Integer score){
		this.score=score;
	}
	/**
	 * 创建时间
	 **/
	public Date getCreated(){
		return created;
	}
	public void setCreated(Date created){
		this.created=created;
	}
}